def dst_conv(m):
    return m * 100


print(dst_conv(int(input())))


# m to cm

def dst_conv(cm):
    return cm / 100


print(dst_conv(int(input())))


# cm to m


def dst_conv(km):
    return km * 1000


print(dst_conv(int(input())))


# km to m


def dst_conv(m):
    return m / 1000


print(dst_conv(int(input())))


# m to km


def dst_conv(cm):
    return cm * 10


print(dst_conv(int(input())))


# cm to mm


def dst_conv(mm):
    return mm / 10


print(dst_conv(int(input())))


# mm to cm


def dst_conv(km):
    return km * 100000


print(dst_conv(int(input())))


# km to cm

def dst_conv(cm):
    return cm / 100000


print(dst_conv(int(input())))


# cm to km


def dst_conv(km):
    return km * 1000000


print(dst_conv(int(input())))


# km to mm


def dst_conv(mm):
    return mm / 1000000


print(dst_conv(int(input())))


# mm to km


def dst_conv(m):
    return m * 1000


print(dst_conv(int(input())))


# m to mm

def dst_conv(mm):
    return mm / 1000


print(dst_conv(int(input())))
# mm to m
